package = "kong-plugin-jwt-plus"
version = "0.1.0-1"
local pluginName = package:match("^kong%-plugin%-(.+)$")  -- "jwt-plus"
supported_platforms = {"linux", "macosx"}
source = {
  url = "https://gitee.com/yur/jwt-plus.git",
  tag = "0.1.0"
}

description = {
  summary = "Kong is a scalable and customizable API Management Layer built on top of Nginx.",
  homepage = "http://getkong.org",
  license = "Apache 2.0"
}

dependencies = {
   "lua ~> 5.1"
}
build = {
   type = "builtin",
   modules = {
      ["kong.plugins."..pluginName..".asn_sequence"] = "kong/plugins/"..pluginName.."/asn_sequence.lua",
      ["kong.plugins."..pluginName..".daos"] = "kong/plugins/"..pluginName.."/daos.lua",
      ["kong.plugins."..pluginName..".handler"] = "kong/plugins/"..pluginName.."/handler.lua",
      ["kong.plugins."..pluginName..".jwt_parser"] = "kong/plugins/"..pluginName.."/jwt_parser.lua",
      ["kong.plugins."..pluginName..".migrations.000_base_jwt"] = "kong/plugins/"..pluginName.."/migrations/000_base_jwt.lua",
      ["kong.plugins."..pluginName..".migrations.002_130_to_140"] = "kong/plugins/"..pluginName.."/migrations/002_130_to_140.lua",
      ["kong.plugins."..pluginName..".migrations.init"] = "kong/plugins/"..pluginName.."/migrations/init.lua",
      ["kong.plugins."..pluginName..".schema"] = "kong/plugins/"..pluginName.."/schema.lua"
   }
}
